package tx.bj12320.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;

import javacommon.base.*;
import javacommon.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import tx.bj12320.model.*;
import tx.bj12320.dao.*;
import tx.bj12320.service.*;
import tx.bj12320.vo.query.*;

@Service
@Transactional
public class GradeItemManager extends BaseManager<GradeItem,Long>{

	private GradeItemDao gradeItemDao;
	/**增加setXXXX()方法,spring就可以通过autowire自动设置对象属性,请注意大小写*/
	public void setGradeItemDao(GradeItemDao dao) {
		this.gradeItemDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.gradeItemDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(GradeItemQuery query) {
		return gradeItemDao.findPage(query);
	}
	
}
